#ifndef PROGRESSDIALOG_H
#define PROGRESSDIALOG_H

#include <QDialog>
#include <QMessageBox>
#include <surf.h>
#include <mythread.h>
#include <resultsdialog.h>
#include <vector>


namespace Ui {
    class ProgressDialog;
}

class ProgressDialog : public QDialog {
    Q_OBJECT
public:
    ProgressDialog(QWidget *parent = 0, QString file = NULL, QString dir = NULL);
    ~ProgressDialog();
    MyThread *thread;
    QWidget *mainwindow;
    QString file;
    QString dir;


public slots:
    void changeLabel(QString text);
    void bumpPB(int value);
    void totalPB(int value);
    void closeThis();
    void showResults();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::ProgressDialog *ui;
};

#endif // PROGRESSDIALOG_H
